import { createStore, combineReducers } from 'redux';
import MenuReducer from './menu/reducer';
import themeConfig from './theme/reducer';
import User from './user/reducer';
import { composeWithDevTools } from 'redux-devtools-extension';
const reducer = combineReducers({
  menu: MenuReducer,
  theme: themeConfig,
  User,
});

const store = createStore(reducer, composeWithDevTools());

export default store;
